<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
  <table border="1">
    <caption>个人信息</caption>
    <tr>
      <td>照片</td>
      <td><img :src="user.url" width="100" alt=""></td>
    </tr>
    <tr>
      <td>品名：</td><td>{{user.name}}</td>
    </tr>
    <tr>
      <td>年龄：</td><td>{{user.age}}</td>
    </tr>
    <tr>
      <td>同科：</td>
      <td>
        <ul>
          <li v-for="name in user.friend">{{name}}</li>
        </ul>
      </td>
    </tr>
  </table>
  <input type="button" value="请求数据" @click="f()">
</div>


<script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
<script>
  let v = new Vue({
    el:"body>div",
    data:{
       user:{
         url:{}
       }
    },
    methods:{
        f(){
          v.user = {url:"1.jpg",name:"姜桑",age:"38",friend:["傻狗","黑熊","二货"]}
        }
    }
  })
</script>
</body>
</html>